class CharTest {
	public static void main(String[] args) {
		char c1='a',c2='B',c3='0';
		CharTest.checkChar(c1);
		CharTest.checkChar(c2);
		CharTest.checkChar(c3);
	}
	public static void checkChar(char ch) {
		System.out.printf("%c: Letter:%s, Digit:%s, Lower:%s, Upper:%s, toLower:%s, toUpper:%s\n", ch,
			Character.isLetter(ch),
			Character.isDigit(ch),
			Character.isLowerCase(ch),
			Character.isUpperCase(ch),
			Character.toLowerCase(ch),
			Character.toUpperCase(ch)
		);
	}
}
